package com.zhengtoudai.ui.activity;

import android.support.v4.app.Fragment;

import com.zhengtoudai.R;
import com.zhengtoudai.base.BaseViewPagerActivity;
import com.zhengtoudai.ui.fragment.MyInvestmentingFragment;
import com.zhengtoudai.ui.fragment.MyRedeemableFragment;
import com.zhengtoudai.ui.fragment.MyRetiredFragment;

public class MyInvestmentActivity extends BaseViewPagerActivity {

    @Override
    protected String[] getTitles() {
        return new String[]{"投资中","待还款","已还款"};
    }

    @Override
    protected Fragment[] getFragments() {
        return new Fragment[]{new MyInvestmentingFragment(),new MyRedeemableFragment(),new MyRetiredFragment()};
    }

    @Override
    protected int ColorStyle() {
        return R.color.title_text;
    }

    @Override
    protected void setTitle() {
        titleUtil.setTitle("已投项目");
        setViewpagerSlide(3);
    }

}
